package com.redis.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2022/07/28/22:27
 * @Description:
 */
@Configuration
public class RedisConfig {

    @Bean
    public StringRedisTemplate getStringRedisTemplate() {
        return new StringRedisTemplate();
    }
}
